package com.cimu.elk.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Title: TestController
 * Copyright: Copyright (c) 2017
 *
 * date 2019年01月08日 11:02
 */
@Controller
@Slf4j
public class TestController {
    @GetMapping("/test")
    @ResponseBody
    public String test(){
        log.info("我的测试日志");
        return "success";
    }
}
